package springcloud.service;

import com.lyl.springcloud.model.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author lylbell
 * @date 2021-06-06 23:03
 */
@FeignClient(value = "cloudalibaba-sentinel-payment",fallback = PaymentFallbackService.class)
public interface PaymentService {

    @GetMapping("/paymentSQL/{id}")
    public Result paymentSQL(@PathVariable("id") Long id);
}
